package com.sky.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 图书
 */
@Data
@ApiModel(description = "图书传递的数据模型")
public class BookDTO {
    @ApiModelProperty("一级分类主键值")
    @JsonProperty("fId")
    private Integer fId;
    @ApiModelProperty("二级分类主键值")
    @JsonProperty("sId")
    private Integer sId;
    @ApiModelProperty("三级分类主键值")
    @JsonProperty("tId")
    private Integer tId;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("封面")
    private String cover;
}
